﻿
namespace bookMaster.AssetSystem.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.DetallePedidos"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class DetallePedidosEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the IdDetallePedidos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIdDetallePedidos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IdDetallePedidos property.
		/// </summary>
		protected System.Windows.Forms.Label uxIdDetallePedidosLabel;
		
		/// <summary>
		/// ComboBox for the IdPedido property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIdPedido;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IdPedido property.
		/// </summary>
		protected System.Windows.Forms.Label uxIdPedidoLabel;
		
		/// <summary>
		/// ComboBox for the IdCatalogo property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIdCatalogo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IdCatalogo property.
		/// </summary>
		protected System.Windows.Forms.Label uxIdCatalogoLabel;
		
		/// <summary>
		/// TextBox for the CantidadSolicitadaDetallePedidos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxCantidadSolicitadaDetallePedidos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the CantidadSolicitadaDetallePedidos property.
		/// </summary>
		protected System.Windows.Forms.Label uxCantidadSolicitadaDetallePedidosLabel;
		
		/// <summary>
		/// TextBox for the CantidadEntregadaDetallePedidos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxCantidadEntregadaDetallePedidos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the CantidadEntregadaDetallePedidos property.
		/// </summary>
		protected System.Windows.Forms.Label uxCantidadEntregadaDetallePedidosLabel;
		
		/// <summary>
		/// TextBox for the CantidadPendienteDetallePedidos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxCantidadPendienteDetallePedidos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the CantidadPendienteDetallePedidos property.
		/// </summary>
		protected System.Windows.Forms.Label uxCantidadPendienteDetallePedidosLabel;
		#endregion
		
		#region Main entity
		private Entities.DetallePedidos _DetallePedidos;
		/// <summary>
		/// Gets or sets the <see cref="Entities.DetallePedidos"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.DetallePedidos"/> instance.</value>
		public Entities.DetallePedidos DetallePedidos
		{
			get {return this._DetallePedidos;}
			set
			{
				this._DetallePedidos = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxIdDetallePedidos.DataBindings.Clear();
			this.uxIdDetallePedidos.DataBindings.Add("Text", this.uxBindingSource, "IdDetallePedidos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIdPedido.DataBindings.Clear();
			this.uxIdPedido.DataBindings.Add("SelectedValue", this.uxBindingSource, "IdPedido", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIdCatalogo.DataBindings.Clear();
			this.uxIdCatalogo.DataBindings.Add("SelectedValue", this.uxBindingSource, "IdCatalogo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxCantidadSolicitadaDetallePedidos.DataBindings.Clear();
			this.uxCantidadSolicitadaDetallePedidos.DataBindings.Add("Text", this.uxBindingSource, "CantidadSolicitadaDetallePedidos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxCantidadEntregadaDetallePedidos.DataBindings.Clear();
			this.uxCantidadEntregadaDetallePedidos.DataBindings.Add("Text", this.uxBindingSource, "CantidadEntregadaDetallePedidos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxCantidadPendienteDetallePedidos.DataBindings.Clear();
			this.uxCantidadPendienteDetallePedidos.DataBindings.Add("Text", this.uxBindingSource, "CantidadPendienteDetallePedidos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="DetallePedidosEditControlBase"/> class.
		/// </summary>
		public DetallePedidosEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_DetallePedidos != null) _DetallePedidos.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxIdDetallePedidos = new System.Windows.Forms.TextBox();
			uxIdDetallePedidosLabel = new System.Windows.Forms.Label();
			this.uxIdPedido = new System.Windows.Forms.ComboBox();
			uxIdPedidoLabel = new System.Windows.Forms.Label();
			this.uxIdCatalogo = new System.Windows.Forms.ComboBox();
			uxIdCatalogoLabel = new System.Windows.Forms.Label();
			this.uxCantidadSolicitadaDetallePedidos = new System.Windows.Forms.TextBox();
			uxCantidadSolicitadaDetallePedidosLabel = new System.Windows.Forms.Label();
			this.uxCantidadEntregadaDetallePedidos = new System.Windows.Forms.TextBox();
			uxCantidadEntregadaDetallePedidosLabel = new System.Windows.Forms.Label();
			this.uxCantidadPendienteDetallePedidos = new System.Windows.Forms.TextBox();
			uxCantidadPendienteDetallePedidosLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIdDetallePedidosLabel
			//
			this.uxIdDetallePedidosLabel.Name = "uxIdDetallePedidosLabel";
			this.uxIdDetallePedidosLabel.Text = "Id Detalle Pedidos:";
			this.uxIdDetallePedidosLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIdDetallePedidosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdDetallePedidosLabel);			
			//
			// uxIdDetallePedidos
			//
			this.uxIdDetallePedidos.Name = "uxIdDetallePedidos";
			this.uxIdDetallePedidos.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdDetallePedidos);
			this.uxIdDetallePedidos.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxIdDetallePedidos);
			//
			// uxIdPedidoLabel
			//
			this.uxIdPedidoLabel.Name = "uxIdPedidoLabel";
			this.uxIdPedidoLabel.Text = "Id Pedido:";
			this.uxIdPedidoLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxIdPedidoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdPedidoLabel);			
			//
			// uxIdPedido
			//
			this.uxIdPedido.Name = "uxIdPedido";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdPedido);
			this.uxIdPedido.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxIdPedido);
			//
			// uxIdCatalogoLabel
			//
			this.uxIdCatalogoLabel.Name = "uxIdCatalogoLabel";
			this.uxIdCatalogoLabel.Text = "Id Catalogo:";
			this.uxIdCatalogoLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxIdCatalogoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdCatalogoLabel);			
			//
			// uxIdCatalogo
			//
			this.uxIdCatalogo.Name = "uxIdCatalogo";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIdCatalogo);
			this.uxIdCatalogo.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxIdCatalogo);
			//
			// uxCantidadSolicitadaDetallePedidosLabel
			//
			this.uxCantidadSolicitadaDetallePedidosLabel.Name = "uxCantidadSolicitadaDetallePedidosLabel";
			this.uxCantidadSolicitadaDetallePedidosLabel.Text = "Cantidad Solicitada Detalle Pedidos:";
			this.uxCantidadSolicitadaDetallePedidosLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxCantidadSolicitadaDetallePedidosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadSolicitadaDetallePedidosLabel);			
			//
			// uxCantidadSolicitadaDetallePedidos
			//
			this.uxCantidadSolicitadaDetallePedidos.Name = "uxCantidadSolicitadaDetallePedidos";
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadSolicitadaDetallePedidos);
			this.uxCantidadSolicitadaDetallePedidos.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxCantidadSolicitadaDetallePedidos);
			//
			// uxCantidadEntregadaDetallePedidosLabel
			//
			this.uxCantidadEntregadaDetallePedidosLabel.Name = "uxCantidadEntregadaDetallePedidosLabel";
			this.uxCantidadEntregadaDetallePedidosLabel.Text = "Cantidad Entregada Detalle Pedidos:";
			this.uxCantidadEntregadaDetallePedidosLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxCantidadEntregadaDetallePedidosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadEntregadaDetallePedidosLabel);			
			//
			// uxCantidadEntregadaDetallePedidos
			//
			this.uxCantidadEntregadaDetallePedidos.Name = "uxCantidadEntregadaDetallePedidos";
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadEntregadaDetallePedidos);
			this.uxCantidadEntregadaDetallePedidos.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxCantidadEntregadaDetallePedidos);
			//
			// uxCantidadPendienteDetallePedidosLabel
			//
			this.uxCantidadPendienteDetallePedidosLabel.Name = "uxCantidadPendienteDetallePedidosLabel";
			this.uxCantidadPendienteDetallePedidosLabel.Text = "Cantidad Pendiente Detalle Pedidos:";
			this.uxCantidadPendienteDetallePedidosLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxCantidadPendienteDetallePedidosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadPendienteDetallePedidosLabel);			
			//
			// uxCantidadPendienteDetallePedidos
			//
			this.uxCantidadPendienteDetallePedidos.Name = "uxCantidadPendienteDetallePedidos";
			//this.uxTableLayoutPanel.Controls.Add(this.uxCantidadPendienteDetallePedidos);
			this.uxCantidadPendienteDetallePedidos.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxCantidadPendienteDetallePedidos);
			//
			// uxIdCatalogo
			//				
			this.uxIdCatalogo.DisplayMember = "Isbn";	
			this.uxIdCatalogo.ValueMember = "IdCatalogo";	
			//
			// uxIdPedido
			//				
			this.uxIdPedido.DisplayMember = "IdCliente";	
			this.uxIdPedido.ValueMember = "IdPedido";	
			// 
			// DetallePedidosEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "DetallePedidosEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.Catalogo> _IdCatalogoList;
		
		/// <summary>
		/// The ComboBox associated with the IdCatalogo property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Catalogo> IdCatalogoList
		{
			get {return _IdCatalogoList;}
			set 
			{
				this._IdCatalogoList = value;
				this.uxIdCatalogo.DataSource = null;
				this.uxIdCatalogo.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIdCatalogoList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IdCatalogo property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIdCatalogoList
		{
			get { return _allowNewItemInIdCatalogoList;}
			set
			{
				this._allowNewItemInIdCatalogoList = value;
				this.uxIdCatalogo.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.Pedidos> _IdPedidoList;
		
		/// <summary>
		/// The ComboBox associated with the IdPedido property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.Pedidos> IdPedidoList
		{
			get {return _IdPedidoList;}
			set 
			{
				this._IdPedidoList = value;
				this.uxIdPedido.DataSource = null;
				this.uxIdPedido.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIdPedidoList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IdPedido property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIdPedidoList
		{
			get { return _allowNewItemInIdPedidoList;}
			set
			{
				this._allowNewItemInIdPedidoList = value;
				this.uxIdPedido.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
        #region Field visibility

        /// <summary>
        /// Indicates if the controls associated with the uxIdDetallePedidos property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIdDetallePedidosVisible
        {
            get { return this.uxIdDetallePedidos.Visible; }
            set
            {
                this.uxIdDetallePedidosLabel.Visible = value;
                this.uxIdDetallePedidos.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIdDetallePedidos property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIdDetallePedidosEnabled
        {
            get { return this.uxIdDetallePedidos.Enabled; }
            set
            {
                this.uxIdDetallePedidos.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIdPedido property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIdPedidoVisible
        {
            get { return this.uxIdPedido.Visible; }
            set
            {
                this.uxIdPedidoLabel.Visible = value;
                this.uxIdPedido.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIdPedido property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIdPedidoEnabled
        {
            get { return this.uxIdPedido.Enabled; }
            set
            {
                this.uxIdPedido.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIdCatalogo property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIdCatalogoVisible
        {
            get { return this.uxIdCatalogo.Visible; }
            set
            {
                this.uxIdCatalogoLabel.Visible = value;
                this.uxIdCatalogo.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIdCatalogo property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIdCatalogoEnabled
        {
            get { return this.uxIdCatalogo.Enabled; }
            set
            {
                this.uxIdCatalogo.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxCantidadSolicitadaDetallePedidos property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxCantidadSolicitadaDetallePedidosVisible
        {
            get { return this.uxCantidadSolicitadaDetallePedidos.Visible; }
            set
            {
                this.uxCantidadSolicitadaDetallePedidosLabel.Visible = value;
                this.uxCantidadSolicitadaDetallePedidos.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxCantidadSolicitadaDetallePedidos property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxCantidadSolicitadaDetallePedidosEnabled
        {
            get { return this.uxCantidadSolicitadaDetallePedidos.Enabled; }
            set
            {
                this.uxCantidadSolicitadaDetallePedidos.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxCantidadEntregadaDetallePedidos property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxCantidadEntregadaDetallePedidosVisible
        {
            get { return this.uxCantidadEntregadaDetallePedidos.Visible; }
            set
            {
                this.uxCantidadEntregadaDetallePedidosLabel.Visible = value;
                this.uxCantidadEntregadaDetallePedidos.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxCantidadEntregadaDetallePedidos property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxCantidadEntregadaDetallePedidosEnabled
        {
            get { return this.uxCantidadEntregadaDetallePedidos.Enabled; }
            set
            {
                this.uxCantidadEntregadaDetallePedidos.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxCantidadPendienteDetallePedidos property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxCantidadPendienteDetallePedidosVisible
        {
            get { return this.uxCantidadPendienteDetallePedidos.Visible; }
            set
            {
                this.uxCantidadPendienteDetallePedidosLabel.Visible = value;
                this.uxCantidadPendienteDetallePedidos.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxCantidadPendienteDetallePedidos property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxCantidadPendienteDetallePedidosEnabled
        {
            get { return this.uxCantidadPendienteDetallePedidos.Enabled; }
            set
            {
                this.uxCantidadPendienteDetallePedidos.Enabled = value;
            }
        }

        #endregion

		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
